//
// Created by deepin on 2020/11/13.
//

#ifndef C___MYTIME1_H
#define C___MYTIME1_H


class Time1 {
   private:
      int hours;
      int minutes;
   public:
      Time1();
      Time1(int h , int m =0);
      void AddMin(int m);
      void AddHr(int h);
      void Reset(int h=0,int m=0);
      Time1 operator+(const Time1 & t) const;
      void Show() const;

};


#endif //C___MYTIME1_H
